const sequelize = require("./db")
const {
    DataTypes
} = require('sequelize');

const boke = sequelize.define('Boke', {
    name: {
        type: DataTypes.STRING,
        allowNull: false
    },
    img: {
        type: DataTypes.STRING,
        allowNull: false
    },
    text: {
        type: DataTypes.STRING,
        allowNull: false
    },
    author: {
        type: DataTypes.STRING,
        allowNull: false
    },
    hot:{
        type: DataTypes.STRING,
        allowNull: false
    },
   
}, {
    paranoid: true,
});


module.exports = boke;